package framework.account;

import framework.interfaces.IAccountType;

public abstract class AccountType implements IAccountType {

	protected String accNo;

	protected double interest;

	protected double balance;

	public AccountType(String accNo, double interest, double balance) {
		this.accNo = accNo;
		this.interest = interest;
		this.balance = balance;
	}

	@Override
	public String getAccNo() {
		return accNo;
	}

	@Override
	public double getInterest() {
		return interest;
	}

	@Override
	public double getBalance() {
		return balance;
	}
}
